You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="33239" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2928" ns="0" title="Main Page">
        <revisions>
          <rev user="Korth" timestamp="2021-10-07T12:12:19Z" comment="Protected &quot;[[Main Page]]&quot;: Excessive spamming: 11-06 ([Edit=Allow only administrators] (expires 12:12, 7 November 2021 (UTC)) [Move=Allow only administrators] (expires 12:12, 7 November 2021 (UTC))) [cascading]" />
          <rev user="Korth" timestamp="2021-10-07T12:10:27Z" comment="revert" />
          <rev user="Korth" timestamp="2021-10-07T12:07:51Z" comment="Reverted edits by [[Special:Contributions/Korth|Korth]] ([[User talk:Korth|talk]]) to last revision by [[User:Printsecure63|Printsecure63]]" />
          <rev user="Korth" timestamp="2021-10-07T12:07:33Z" comment="Reverted edits by [[Special:Contributions/Printsecure63|Printsecure63]] ([[User talk:Printsecure63|talk]]) to last revision by [[User:Juteslime03|Juteslime03]]" />
          <rev user="Printsecure63" timestamp="2021-10-07T11:21:46Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
</api>